package com.novellotus.iov.carvice.anim;

import android.graphics.Canvas;

/**
 * Created by wpm on 2017/3/30.
 */

public class AnimCaChu extends Anim {
    public AnimCaChu(EnterAnimLayout view) {
        super(view);
    }

    @Override
    public void handleCanvas(Canvas canvas, float rate) {
        float rectTop;
        rectTop = (h - h * rate);
        canvas.clipRect(0, rectTop, w, h);
        canvas.save();
    }
}
